package wang.chunfan.springcloud.learning.consul.ribbon.server.model;

import java.io.Serializable;

/**
 * @version 1.0
 * @Author wangchunfan
 * @Date 2020/5/22 9:49
 **/
public class User implements Serializable {
    private Long id;
    private String username;
    private String password;

    public User() {

    }

    public User(Long id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
